package com.genius.smsservice.teachermanage.service.impl;

import com.genius.smsbase.Service.impl.GenericManagerImpl;
import com.genius.smsdao.teachermanage.dao.DepartmentDao;
import com.genius.smsdao.teachermanage.domain.Department;
import com.genius.smsservice.teachermanage.service.DepartmentManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


/**
 * @ClassName DepartmentManagerImpl
 * @Description DepartmentManager实现类
 * @author：   yuanquan
 */
@Component
public class DepartmentManagerImpl extends GenericManagerImpl<Department,Long> implements DepartmentManager {

    DepartmentDao departmentDao;

    @Autowired
    public void setStudentDao(DepartmentDao departmentDao){
        this.departmentDao = departmentDao;
        this.dao = this.departmentDao;
    }
}
